/**
 * 
 */
package com.nextive.interview.dto;

import java.util.Calendar;

/**
 * DTO class containing information about a weight history.
 * @author Cesar Roman
 *
 */
public class WeightDateSingleLog {

	/**
	 * Row id.
	 */
	private Long id;
	
	/**
	 * History weight.
	 */
	private Double weight;
	
	/**
	 * History date.
	 */
	private Calendar calendar;
	
	/**
	 * Default constructor.
	 */
	public WeightDateSingleLog() {
		
	}
	
	/**
	 * Constructor with default values.
	 * @param id
	 * @param weight
	 * @param calendar
	 */
	public WeightDateSingleLog(Long id, Double weight, Calendar calendar) {
		
		this.id = id;
		this.weight = weight;
		this.calendar = calendar;
		
	}

	/**
	 * It returns the id of the history.
	 * @return
	 */
	public Long getId() {
		return id;
	}

	/**
	 * It sets the id of the history.
	 * @param calendar
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * It returns the weight of the history.
	 * @return
	 */
	public Double getWeight() {
		return weight;
	}

	/**
	 * It sets the weight of the history.
	 * @param calendar
	 */
	public void setWeight(Double weight) {
		this.weight = weight;
	}

	/**
	 * It returns the date of the history.
	 * @return
	 */
	public Calendar getCalendar() {
		return calendar;
	}

	/**
	 * It sets the date of the history.
	 * @param calendar
	 */
	public void setCalendar(Calendar calendar) {
		this.calendar = calendar;
	}
	
}
